package appfuse.framework.database;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 数据操作异常类
 * <p>Title: 数据操作异常类</p>
 * <p>Description: 封装对数据操作产生的异常</p>
 * <p>Copyright: Copyright (c) 2005</p>
 * <p>Company: </p>
 * @author�savage
 * @version 1.0
 */
public class SqlExecException
    extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1744522579789553947L;
	private Log log = LogFactory.getLog(this.getClass());

    /**
     * ExecSqlException
     */
    public SqlExecException() {
    }

    /**
     * 将数据操作异常记录日志
     * @param   msg
     * @return  ˵��
     * @exception  ��������˵��
     */
    public SqlExecException(String msg) {
        log.error(msg);
    }
}